class CreatePrivs < ActiveRecord::Migration
  def self.up
    create_table :privs do |t|
      t.references :tag
      t.references :user
      t.boolean :is_owner
      t.boolean :can_see
      t.boolean :can_harvest
      t.timestamps
    end
  end

  def self.down
    drop_table :privs
  end
end
